﻿using MediatR;
using Purchase.ErrorCode;

namespace Purchase.ApiS.AllCation.Command.MaterialInfos
{
    public class AddMaterialInfoCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 物料编号
        /// </summary>
        public string MaterialCode { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string MaterialName { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string Specification { get; set; }
        /// <summary>
        /// 税率
        /// </summary>
        public decimal TaxRate { get; set; }
        /// <summary>
        /// 原未税价格
        /// </summary>
        public decimal Originalprice { get; set; }
        /// <summary>
        /// 原含税价格
        /// </summary>
        public decimal Taxincluded { get; set; }
        /// <summary>
        /// 新未税价格
        /// </summary>
        public decimal XinOriginalprice { get; set; }
        /// <summary>
        /// 新含税价格
        /// </summary>
        public decimal XTaxincluded { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 采购数量
        /// </summary>
        public int PurchaseQuantity { get; set; }
    }
}
